<template>
  <view v-if="props.status !== 'loadmore'" class="cu-load text-sm text-gray" :class="props.status"></view>
  <view v-else class="text-sm text-gray cu-load">下拉加载更多</view>
</template>

<script lang="ts" setup>

interface LoadMoreProps {
  status: 'loading' | 'over' | 'erro' | 'loadmore'
}
const props = withDefaults(defineProps<LoadMoreProps>(), {
  status: 'loadmore'
})
</script>

<style scoped>

</style>
